package com.schoolCommunity.service;

import com.schoolCommunity.entity.Commodity;
import com.schoolCommunity.entity.CommodityTransaction;
import com.baomidou.mybatisplus.extension.service.IService;
import com.schoolCommunity.entity.Information;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author YTH
 * @since 2020-10-10
 */
public interface CommodityTransactionService extends IService<CommodityTransaction> {

    //添加购买记录
    public int InsertCommodityTransaction(long BuyMemberId, Commodity commodity);

    //查询某购买用户的id的购买记录
    public Information GetCommodityTransactionById(long memberId);


}
